<?php
(!defined('IN_DISCUZ') || !defined('IN_ADMINCP')) && exit('Access Denied');
loadcache('plugin');
require_once (DISCUZ_ROOT.'./source/plugin/touclick/func/touclick_request.func.php');
require_once (DISCUZ_ROOT.'./source/plugin/touclick/func/touclick_tools.func.php');
require_once (DISCUZ_ROOT.'./source/plugin/touclick/include/JSON.php');

$tcJSON = new CJSON();

if(file_exists(DISCUZ_ROOT.'./data/plugindata/touclick.lang.php')){
	include DISCUZ_ROOT.'./data/plugindata/touclick.lang.php';
} else {
	loadcache('pluginlanguage_script');
}
$scriptlang['touclick'] = $_G['cache']['pluginlanguage_script']['touclick'];
$touclicklang = $scriptlang['touclick'];

$touclickB = trim($_G['cache']['plugin']['touclick']['sitekey']);
$touclickZ = trim($_G['cache']['plugin']['touclick']['identity']);
$touclickV = "v2-1-2";
$touclickPF = "discuz";
$touclickD =urlencode($_G['siteurl']);
$touclickCS = $_G['config']['output']['charset'];

$identifier = $_GET['identifier'];
$urls = '&pmod=control&identifier='.$identifier.'&operation='.$operation.'&do='.$do;


if($touclickB == "" || $touclickZ == "" ){
	cpmsg($touclicklang['tcmsg0020'], "", 'error');
}
if($touclickB == $touclickZ || strlen($touclickB) != 36 || strlen($touclickZ) != 36){
	cpmsg($touclicklang['tcmsg0021'], "", 'error');
}

require (DISCUZ_ROOT.'./source/plugin/touclick/include/touclick_skin.inc.php');


?>